package com.xiaotu.server.service.maoyan;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.xiaotu.server.service.BaseService;

/***
 * 更新猫眼剧id
 * @author Administrator
 *
 */
@Service
public class CheckMovieService extends BaseService {

	@Override
	protected String getKey() {
		return "CheckMovieMapper";
	}
	
	
	//查询猫眼网站数据id已变化的数据
	public List<Map<String,Object>> queryMaoYanMovieDataIdIsChange(Map<String, Object> params) {
		return this.getList("queryMaoYanMovieDataIdIsChange", params);
	}

	//更新已补充状态为1
	public void updateSupplement(Map<String, Object> params) {
		this.update("updateSupplement", params);
	}

	//删除艺人作品中间表
	public void deleteStarWorksSupplement(Map<String, Object> params) {
		this.delete("deleteStarWorksSupplement", params);
	}

	//删除公司作品中间表
	public void deleteCompanyWorksSupplement(Map<String, Object> params) {
		this.delete("deleteCompanyWorksSupplement", params);
	}

	//删除猫眼基本信息
	public void deleteMovieBasicInfo(Map<String, Object> params) {
		this.delete("deleteMovieBasicInfo", params);
	}
	
	
	
}
